package com.shanghaiyimu.yimiyangche.activity;

import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.TextView;

import com.shanghaiyimu.yimiyangche.R;

public class WashCarContentActivity extends AppCompatActivity {
    private TextView textView;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_wash_car_content);
        initView();
    }

    private void initView() {
        textView  = (TextView) findViewById(R.id.warsh_content_text);
        Intent intent = getIntent();
        Bundle bundle = intent.getExtras().getBundle("name");
        String key = bundle.getString("key");
        textView.setText(key);
    }
}
